package com.yunyao.framework.service;

import com.yunyao.common.dto.UserDto;
import com.yunyao.common.web.util.PageResult;
import com.yunyao.common.web.util.YResult;
import com.yunyao.common.dto.SupplierDto;
import com.yunyao.framework.dto.posyupply.PoSosyupplySaveDto;
import com.yunyao.framework.dto.reconciliation.ReconciliationSaveDto;
import com.yunyao.framework.vo.supplier.SupplierInfoVO;
import com.yunyao.framework.vo.supplier.SupplierSaveDto;
import com.yunyao.framework.vo.supplier.SupplierVO;
import com.yunyao.framework.vo.user.UserInfoVO;

/**
 * @author xingjishuai
 * @date 2024-07-17
 */
public interface SupplierService {

    /**
     * 获取供应商列表
     *
     * @param supplierDto
     * @return
     */
    YResult<PageResult<SupplierVO>> getList(SupplierDto supplierDto);

    YResult<SupplierInfoVO> getByIdInfo(SupplierDto supplierDto);

    YResult<String> saveInfo(SupplierSaveDto saveDto);

    YResult<Boolean> deleteInfo(SupplierDto supplierDto);
}
